<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>avalon.lazyload</title>
    <script type="text/javascript" src="../../avalon.js"></script>
    <script type="text/javascript" src="avalon.lazyload.js"></script>
    <style type="text/css">
        .test1{
            margin-top: 300px;
            margin-bottom: 200px;
        }
      </style>
  </head>
  <body id="body" ms-controller="test">
      <div class="test1"><img ms-lazyload="true" src="loadingimg/placeholderimg1.jpg"/></div>
      <div class="test1"><img ms-lazyload="true" src="loadingimg/placeholderimg2.jpg"/></div>
      <div class="test1"><img ms-lazyload="true" src="loadingimg/placeholderimg3.jpg"/></div>
      <div class="test1"><img ms-lazyload="true" src="loadingimg/placeholderimg4.jpg"/></div>
    <script>
      var lazyload = new window.LazyLoading;
      lazyload.init({effect:"fadeIn"});
    </script>
  </body>
</html>